package com.lt.schoolchat.model.dto.post;

import com.lt.schoolchat.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询请求
 *
 * @author teng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("帖子查询请求")
public class PostQueryRequest extends PageRequest implements Serializable {
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别 0-男 1-女")
    private Integer gender;
    @ApiModelProperty("学历")
    private String education;
    @ApiModelProperty("地点")
    private String place;
    @ApiModelProperty("职业")
    private String job;
    @ApiModelProperty("联系方式")
    private String contact;
    @ApiModelProperty("感情经历")
    private String loveExp;
    @ApiModelProperty("内容-个人介绍-搜索内容，支持模糊查询")
    private String content;
    @ApiModelProperty("状态 0-待审核，1-通过 2-拒绝")
    private Integer reviewStatus;
    @ApiModelProperty("创建用户id")
    private Long userId;
    private static final long serialVersionUID = 1L;
}
